class CraftingTableRenderer : public IBlockRenderer
{
public:
	ITexture *Texture;

	CraftingTableRenderer(ITexture *texture) :
		Texture(texture)
	{
	}

	int GetTypeData(const int &data) { return data; }

	void Render(Schematic *schematic, RendererBase *renderer, const Block &block, const Point3i &position)
	{
		renderer->Draw(Box(Texture).SetAll(Point2i(11 * 16, 3 * 16)).SetTop(Point2i(11 * 16, 2 * 16)).SetSouth(Point2i(12 * 16, 3 * 16)).SetWest(Point2i(12 * 16, 3 * 16)));
	}
};